/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import org.junit.AfterClass;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.BeforeClass;

/**
 *
 * @author RaoF
 */
public class ATMTestFinal {
    
    public ATMTestFinal() {
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }

    /**
     * Test of main method, of class ATM.
     */
    @Test
    public void testMain() {
        System.out.println("main");
        String[] args = null;
        ATM.main(args);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of setCard method, of class ATM.
     */
    @Test
    public void testSetCard() {
        System.out.println("setCard");
        Card current = null;
        ATM instance = new ATM();
        instance.setCard(current);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of checkBalance method, of class ATM.
     */
    @Test
    public void testCheckBalance() {
        System.out.println("checkBalance");
        ATM instance = new ATM();
        double expResult = 0.0;
        double result = instance.checkBalance();
        assertEquals(expResult, result, 0.0);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of withdraw method, of class ATM.
     */
    @Test
    public void testWithdraw() {
        System.out.println("withdraw");
        String pin = "";
        double amount = 0.0;
        ATM instance = new ATM();
        boolean expResult = false;
        boolean result = instance.withdraw(pin, amount);
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of getRootId method, of class ATM.
     */
    @Test
    public void testGetRootId() {
        System.out.println("getRootId");
        String accountId = "";
        ATM instance = new ATM();
        int expResult = 0;
        int result = instance.getRootId(accountId);
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of transfer method, of class ATM.
     */
    @Test
    public void testTransfer() {
        System.out.println("transfer");
        String pin = "";
        double amount = 0.0;
        int transId = 0;
        ATM instance = new ATM();
        boolean expResult = false;
        boolean result = instance.transfer(pin, amount, transId);
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }
}
